<!--<nav>-->
<!--  <div *ngIf="isLogin"><a routerLink="/publish">发布</a></div>-->
<!--  <div *ngIf="!isLogin"><a routerLink="/login">登录去提交文章</a></div>-->

<!--</nav>-->
<section class="blog" *ngFor="let article of articles">
    <article>
      <div class="title">{{article.title}}</div>
      <div class="post-meta">Posted by:<span>{{article.author}}</span> in 杂谈 {{article.createTime}}</div>
      <div class="summary">
        {{article.summary}}
      </div>
      <div class="tags">
        Tags:{{article.tags}}
      </div>
      <h3 class="more"><a routerLink="/detail/{{article.id}}">点击阅读全文</a></h3>
    </article>
  </section>
<app-pagination (updateNumberI)="numberIChange($event)" *ngIf="pageInfo" [pageInfo]="pageInfo"></app-pagination>
